<?php
return [
	'maxSize' => 50*1024*1024, //k
	'allowExts' => ['jpg', 'png', 'gif', 'swf', 'flv', 'mp4', 'ogg', 'ogv', 'webm', 'xlsx', 'xls'],
	'rootPath' => __DIR__.'/web/admath/materials/',
	'savePath' => dirname(__DIR__).'/web/admath/materials/',
	'excelPath' => dirname(__DIR__).'/web/admath/excel/',
    'appPath'   => dirname(__DIR__).'/web/admath/apps/',
	'uploadReplace' => false,
	'saveRule' => 'width_height_time_uniqid', // 请自行在upload中定义rule的解释, ext 默认附加为 filename.ext
];
